package 泛型;

/**
 * @author ycc
 * @date 2024/7/1
 */
public class Generic<T> {
//    private T t;
//    public GenericClass(T t) {
//        this.t = t;
//    }
    private T value;

    public void setValue(T value) {
        this.value = value;
    }

    public T getValue() {
        return value;
    }
}
